Repository navigation
Log findings: quiet ones resolve on their own - #439
Merged
Merged
Conversation
…ts the error
An open finding, acknowledged or not, now resolves once it has gone without a
matching line for its own quiet period instead of a fixed week: 3 days for a
burst that stopped, twice the longest silence for an error that keeps coming
back (between days with lines, and from a resolve to its reopen), from 1 to 14
days. The resolve records why ("Resolved: no new lines for N days"), open
findings carry their quiet period, and the API says when an open finding
resolves unless seen again.
This was referenced Nov 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
A log finding that stopped appearing stayed open for a fixed week, so a burst that ended days ago still showed as Critical. Open findings, acknowledged or not, now resolve after a quiet period that fits how the error behaves.
Changes
lifecycle.quiet_days_for: 3 days for a burst that stopped (one run of consecutive days, or no history); twice the longest silence for an error that keeps coming back (gaps between days with lines, and from a resolve to its reopen); clamped to 1 to 14 days. Rule written in the module notes.resolved_reason("Resolved: no new lines for N days") andquiet_days; sightings and new findings writequiet_days; open findings not seen in a run get it stamped when it changes.pendingand resolve the same way. Seen again still reopens.quiet_days,resolves_at(open only),resolved_at,resolved_reason.Verification
resolves_at; common log_findings and gateway log_findings tests pass; clippy and fmt clean.